﻿using System;
using System.Web;

namespace FBGraph.Web
{
    public class ClassicHttpRequestWrapper : IHttpRequestWrapper
    {
        private HttpRequest request;

        internal ClassicHttpRequestWrapper(HttpRequest request)
        {
            this.request = request;
        }

        public HttpCookieCollection Cookies { get { return this.request.Cookies; } }
        public Uri Url { get { return this.request.Url; } }
        public Uri UrlReferrer { get { return this.request.UrlReferrer; } }
    }
}